Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-syntax-json-strings

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-json-strings

Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings

  • 7.8.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27M
increased by5.45%
Maintainers
6
Weekly downloads
 
Created

What is @babel/plugin-syntax-json-strings?

@babel/plugin-syntax-json-strings is a Babel plugin that allows you to use JSON strings in your JavaScript code. This plugin enables the parsing of JSON strings as part of the ECMAScript 2019 (ES10) specification, which allows JSON-like strings to be used directly in JavaScript code.

What are @babel/plugin-syntax-json-strings's main functionalities?

Enable JSON Strings Syntax

This feature allows you to use JSON strings directly in your JavaScript code. The plugin parses the JSON string and makes it usable within your code without needing to parse it manually.

const jsonString = `{"key": "value"}`;

Other packages similar to @babel/plugin-syntax-json-strings

Keywords

FAQs

Package last updated on 13 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc